projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c4b8a6
)
reftests: Make test runner always use image surfaces
author
Benjamin Otte
<otte@redhat.com>
Tue, 17 Jan 2012 16:06:09 +0000
(17:06 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 2 Feb 2012 02:14:01 +0000
(
03:14
+0100)
See comment in code for why.
tests/reftests/gtk-reftest.c
patch
|
blob
|
history
diff --git
a/tests/reftests/gtk-reftest.c
b/tests/reftests/gtk-reftest.c
index ae41d32010321512f4c2ab44e89006e6566051af..0f15d6dc4f161cfb5cff689a47ace30773196b85 100644
(file)
--- a/
tests/reftests/gtk-reftest.c
+++ b/
tests/reftests/gtk-reftest.c
@@
-568,6
+568,12
@@
add_tests_for_files_in_directory (GFile *dir)
int
main (int argc, char **argv)
{
+ /* I don't want to fight fuzzy scaling algorithms in GPUs,
+ * so unles you explicitly set it to something else, we
+ * will use Cairo's image surface.
+ */
+ g_setenv ("GDK_RENDERING", "image", FALSE);
+
if (!parse_command_line (&argc, &argv))
return 1;